<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.io.*,java.util.*"%>
<%@ page import="java.util.Map"%>
<%@ page import="zdy.web.servlet.upload"%>


<%
	upload up=new upload();
	String msg=up.receive(request);
	

	
%>

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>文件处理</title>
</head>
<body>
	<h1><%=msg %></h1>
	<ul>
		<%for (String item : up.files) { %>
		<li><p>
				<b>网址:</b>
				<%=item%>
			</p></li>
		<%}%>
	</ul>
	显示收到的字段
		<ul>
		<%for (Map.Entry<String, String> entry : up.map.entrySet()) { %>
		<li><p>				
				<%=entry.getKey()%>=<%=entry.getValue()%>
			</p></li>
		<%}%>
	</ul>
</body>
</html>